#pragma once
#include <d3d9.h>
class DXDevice
{
private:
	LPDIRECT3D9 d3d;
	LPDIRECT3DDEVICE9 d3ddev;
	D3DPRESENT_PARAMETERS dpp;
public:
	DXDevice();
	DXDevice(HWND hwnd);
	~DXDevice();
	bool Create_Direct9();
	bool Create_D3D_Para(HWND hwnd);
	bool Create_Device(HWND hwnd);
	LPDIRECT3DDEVICE9 Get_Device();
	LPDIRECT3D9 Get_d3d();
};


